package com.nuoniu.sibanyun.service.crm.call;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.nuoniu.sibanyun.entity.crm.CrmGoodsOrder;
import com.nuoniu.sibanyun.entity.crm.call.CrmCallBaseSettingInfo;
import com.nuoniu.sibanyun.entity.crm.call.dto.CrmCallBaseSettingInfoSearchDto;
import com.nuoniu.sibanyun.entity.expenses.ExpensesBusinessOrder;

/**
 * <p>
 * 客户管理-外呼套餐基础信息 服务类
 * </p>
 *
 * @author 白强
 * @since 2022-04-28
 */
public interface ICrmCallBaseSettingInfoService extends IService<CrmCallBaseSettingInfo> {

    /**
     * 更新套餐信息(商品订单)
     * @param crmGoodsOrder
     */
    void updateFromCrmGoodsOrder(CrmGoodsOrder crmGoodsOrder);
    /**
     * 查询 租户当前套餐信息
     * @return
     */
    CrmCallBaseSettingInfo getByCompany(Integer companyId);

    /**
     * 分页查询 正在使用的套餐信息
     * @param settingInfoSearchDto
     * @return
     */
    Page<CrmCallBaseSettingInfo> pageList(CrmCallBaseSettingInfoSearchDto settingInfoSearchDto);



}
